package itcast.service;

import java.util.List;
import java.util.Map;

import itcast.domain.PageBean;
import itcast.domain.User;

public interface UserService {
	 public List<User> findAll();
	 public User login(User user);
	 public int addUser(User user);
	 public void deluser(String id);
	 public User finduserid(String id);
	 public void updateuser(User user);
   	 public void DeluserS(String[] ids);
   	 /**
      * 分页条件查询
      * @param currentPage
      * @param rows
      * @return
      */
     PageBean<User> findUserByPage(String currentPage, String rows);
}
